﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Acme.BookStore.Storage
{
    public class InboundManage : AuditedAggregateRoot<Guid>
    {
        public string InboundOrderNumber { get; set; }
        public string InboundType { get; set; }
        public int State { get; set; }
        public DateTime? InboundDate { get; set; }
        public string WarehouseName { get; set; }
        public string InboundGood { get; set; }
        public string Attn { get; set; }
        public int InboundQuantity { get; set; }
        public int InboundAmount { get; set; }
        public string MakeSingle { get; set; }
        public DateTime MakeSingleTime { get; set; }
        public string? Reviewers { get; set; }
        public DateTime? ReviewTime { get; set; }
        public string RelatedOrderNo { get; set; }
        public string SupplierName { get; set; }
        public string ContactPerson { get; set; }
        public string ContactPhone { get; set; }

        public virtual ICollection<InboundDetail> Details { get; protected set; }

        public InboundManage()
        {
            Details = new HashSet<InboundDetail>();
        }
    }
}
